package com.rock.service.impl;


import com.rock.entity.UserEntity;
import com.rock.service.UserService;
import org.springframework.stereotype.Component;



@Component
public class UserServiceImpl implements UserService {


    public UserEntity getUserInfo() {

        UserEntity ue = new UserEntity();
        ue.setId(1l);
        ue.setAge(10);
        ue.setUserName("小小");

        return ue;
    }
}
